package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author chenxuebin
 * @since 2018-09-04
 */
@TableName("t_munit")
public class Munit extends Model<Munit> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long mid;
	private String mutitle;
	private String muaddr;
	private Double longitude;
	private Double latitude;
    /**
     * 大类目id
     */
	private Long cid;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public String getMutitle() {
		return mutitle;
	}

	public void setMutitle(String mutitle) {
		this.mutitle = mutitle;
	}

	public String getMuaddr() {
		return muaddr;
	}

	public void setMuaddr(String muaddr) {
		this.muaddr = muaddr;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Munit{" +
			"id=" + id +
			", mid=" + mid +
			", mutitle=" + mutitle +
			", muaddr=" + muaddr +
			", longitude=" + longitude +
			", latitude=" + latitude +
			", cid=" + cid +
			"}";
	}
}
